package com.flyme.module.base.provider.service;


import com.flyme.core.base.supper.entity.EntityMap;
import com.flyme.core.base.supper.service.IBaseService;
import com.flyme.module.base.client.entity.SysUserexamination;

import java.util.List;

public interface SysUserexaminationService extends IBaseService<SysUserexamination> {

    List<EntityMap> getexamUserdetail(Long userId, Long userExamId);


    Boolean updateSysuserexam(Long  id);


    List<EntityMap> getuserExamination(Long userId,Long examinationId,String exatimeId);

    /**
     * 根据用户校验是否有考试记录
     */
    EntityMap checkByUser(Long userId, Long examinationId);

    void orderJobCheck();

    List<EntityMap> getlastExamination(Long userId,Long  certificateId);

    /**
     * 根据用户加证书校验是否有考试记录
     */
    EntityMap checkByUsercert(Long userId, Long examinationId,Long usercertificateId);

    /**
     * 根据用户及考试安排id查询用户考试记录
     */
    SysUserexamination findByCode(Long userId, Long examinationId);

}
